package com.zack.service;

import com.zack.core.datasource.YCXDataSource;
import com.zack.model.TestObject;

import java.util.Map;

/**
 * Created by Zack on 16/4/6.
 */
public interface ITestObjectService {
    @YCXDataSource(value = "master")
    public void insert(TestObject testObject);

    @YCXDataSource(value = "slave")
    public TestObject selectByUsername(Map paramMap);
}
